/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-07-17 14:33:00
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //规格型号
    formObj: [{
            input: true, //是input
            label: "功能室", //字段
            prop: "functionRoom", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '功能室不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "排序", //字段
            prop: "sort", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '排序不能为空'
            }], //验证
        },
         {
            switch: true, //是input
            label: "是否启用", //字段
            prop: "isUsing", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '是否启用不能为空'
            }] //验证
        },
        {
            label: "上传照片", //字段
            prop: "picture", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '上传照片不能为空'
            }] //验证
        },
    ]
}